<?php echo \think\facade\View::fetch("public/header"); ?>

    <div id="right">
        <div id="content">
            <div id="breadcrumb">
                <a href="/admin/article/index/">首页</a> &gt;
                <a href="/admin/user/index/">用户管理</a> &gt;
                <a href="/admin/user/index/">用户列表</a>
            </div>

            <div id="choose_div">
                <!--                                <button id="choose-all" class="btn">全选</button>-->
                <!--                                <a href="#">删除选中任务</a>-->
                <!--<a href="/admin/user/add/" class="add">增加用户</a>-->
            </div>

            <table class="list">
                <tr>
                    <th></th>
                    <th>Id</th>
                    <th>用户名</th>
                    <th>用户头像</th>
                    <th>用户标识</th>
                    <th>增加时间</th>
                    <th>修改时间</th>
                    <th>操作</th>
                </tr>
                <?php foreach ($userList as $row): ?>
                    <tr>
                        <td><input type="checkbox"/></td>
                        <td><?php echo $row['user_id']; ?></td>
                        <td><?php echo $row['user_name']; ?></td>
                        <td><img style="width:50px;border-radius:25px" src="<?php echo $row['user_img']; ?>"></td>
                        <td><?php echo $row['open_id']; ?></td>
                        <td><?php echo date("Y-m-d H:i:s", $row['add_time']); ?></td>
                        <td><?php echo date("Y-m-d H:i:s", $row['update_time']); ?></td>
                        <td>
                        <!--    <a href="/admin/user/edit/user_id/<?php echo $row['user_id']; ?>/">编辑</a>-->
                            <a href="/admin/user/delete/user_id/<?php echo $row['user_id']; ?>/">删除</a>
                        </td>
                    </tr>
                <?php endforeach; ?>
            </table>
        </div>
    </div>

<?php echo \think\facade\View::fetch("public/footer"); ?>